#include <bits/stdc++.h>
using namespace std;

int main() {
    char a = 'x';
    int b = a;
    cout << b << endl;
    char A = a - 'a' + 'A';
    cout << A << endl;

    char na = 97;
    cout << na << endl;

    return 0;
}